<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>员工详情</title>
</head>
<body>
<c:if test="${empty emp}">
    <span>Error: 未找到该员工</span>
</c:if>
<h3>员工信息</h3>
<c:if test="${!empty emp}">
    ID: ${emp.id}
    <br>
    邮箱：${emp.email}
    <br>
    昵称：${emp.lastName}
    <br>
    性别：${emp.gender}
    <br>
    所在部门：${emp.department.departName}
</c:if>
</body>
</html>
